<h2 class="title">运输跟踪</h2>
<form action="index.php" method="GET">
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">运货单号</td>
	<td class="tr_td_width03"><input type="text" class="input_select_stand txt-normal" name="transport_no" value="{%$smarty.get.transport_no%}" /></td>
	<td  class="tr_td_width01 alignright">所属项目</td>
	<td>
		<select name="project_id" class="select_browse02  txt-normal">
			<option value="0">请选择</option>
			{%html_options options=$project_arr selected=$smarty.get.project_id%}
		</select>
		<input type="hidden" name="c" value="{%$smarty.get.c%}">
	</td>	
</tr>
</table>
<p class="btn_right">
<button type="submit" class="b-default" hidefocus="true"><span><em>查询</em></span></button>
<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_transport_track&m=imports'"><span><em>导入</em></span></button>
<button type="button" class="b-default" hidefocus="true" onclick="window.location.href='index.php?c=zy_transport_track&m=add'"><span><em>添加</em></span></button>
</p>
</form>
<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">运货单号</td>
	<!--<td>申请日期</td>-->
	<td>物资描述</td>
	<td class="list_td_zw_10">所属项目</td>
	<td class="list_td_zw_04">运输方式</td>
	<!--<td>审批单号</td>-->
	<td class="list_td_zw_04">运输状态</td>
	<td class="list_date">起运时间</td>
	<td class="list_date02">预计到货日期</td>
	<!--<td width="12%">时间到货日期</td>-->
	<td class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td>{%$arr_item.transport_no%}</td>
	<!--<td>{%$arr_item.app_time|date_format:"%Y-%m-%d"%}</td>-->
	<td class="alignleft" title="{%$arr_item.materials_info%}">{%cut_str str=$arr_item.materials_info sublen=10%}</td>
	<td class="alignleft" title="{%cut_str str=$project_arr[$arr_item.project_id] sublen=10%}">{%cut_str str=$project_arr[$arr_item.project_id] sublen=10%}</td>
	<td>{%$transport_type_arr[$arr_item.type_id]%}</td>
	<!--<td>{%$arr_item.reply_no%}</td>-->
	<td>{% if $arr_item.state == 0%}途中{%else%}到达{%/if%}</td>
	<td>{%$arr_item.start_time|date_format:"%Y-%m-%d"%}</td>		
	<td>{%$arr_item.v_end_time|date_format:"%Y-%m-%d"%}</td>
	<!--<td>{%$arr_item.end_time|date_format:"%Y-%m-%d"%}</td>-->		
	<td>
		<a href='index.php?c=zy_transport_track&m=browse&transport_track_id={%$arr_item.transport_track_id%}'>详细</a>&nbsp;
		<a href='index.php?c=zy_transport_track&m=edit&transport_track_id={%$arr_item.transport_track_id%}'>修改</a>&nbsp;
		<!--<a href='index.php?c=zy_transport_track&m=del&transport_track_id={%$arr_item.transport_track_id%}' onclick="return confirm('您确实删除吗？');">删除</a>-->
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="8">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}